package _02_if;

public class If_ElseDemo {
    public static void main(String[] args){
        //需求：判断num是奇数还是偶数（二选一）
        System.out.println("begin...");
        int num = 11;
        if(num%2 == 0){
            System.out.println(num+"是偶数");
        }else{
            System.out.println(num+"是奇数");
        }
        System.out.println("end...");

    }
}
